package com.hospital.dao;

import java.util.List;

import com.hospital.vo.Expert;

public interface IExpertDao {
	public boolean doCreate(Expert expert) throws Exception;
	public boolean doUpdate(Expert expert) throws Exception;
	public boolean doDel(int eid) throws Exception;
	public List<Expert> findAll(String keyWord, int startIndex, int count) throws Exception;
	public Expert findById(int eid) throws Exception;
	public int count(String keyWord) throws Exception;
	public List<Expert> findAllByKid(int kid,  int startIndex, int count) throws Exception;
	public int count(int kid) throws Exception;
}
